﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMSTest
{
    class Extent
    {
        public double xmin { get; set; }
        public double ymin { get; set; }
        public double xmax { get; set; }
        public double ymax { get; set; }

        public Extent(double xmin, double ymin, double xmax, double ymax)
        {
            this.xmin = xmin;
            this.ymin = ymin;
            this.xmax = xmax;
            this.ymax = ymax;
        }

        public override string ToString()
        {
            return String.Join(",", new string[] { xmin.ToString(), ymin.ToString(), xmax.ToString(), ymax.ToString() });
        }
    }
}
